package com.schoolMall.enums;

/**
 * @author:zyh
 * @Time:2021-09-03-17:25
 * @email:1269231889@qq.com
 */
public enum LocalAuthStateEnum {
    FAIL(-1,"失败"),
    SUCCESS(0,"成功"),
    NULL_USER(-1001,"用户信息为空"),
    ONLY_ONE_USER(1,"只能有一个用户 ");

    int val;
    String msg;

    LocalAuthStateEnum(int val, String msg) {
        this.val = val;
        this.msg = msg;
    }

    public int getVal() {
        return val;
    }

    public String getMsg() {
        return msg;
    }
}
